package com.example.security.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 讲师表
 * </p>
 *
 * @author liyp
 * @since 2020-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="YxDocent对象", description="讲师表")
public class YxDocent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id",type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "姓名")
    @TableField(strategy= FieldStrategy.IGNORED)
    private String name;

    @ApiModelProperty(value = "手机号码")
    private String mobile;

    @ApiModelProperty(value = "联系地址")
    private String address;

    @ApiModelProperty(value = "工作单位")
    private String workUnit;

    @ApiModelProperty(value = "身份证号")
    private String idNo;

    @ApiModelProperty(value = "相片地址(小图)")
    private String smallPhotoUrl;

    @ApiModelProperty(value = "相片地址")
    private String bigPhotoUrl;

    @ApiModelProperty(value = "简介")
    private String resume;

    @ApiModelProperty(value = "简介附件地址")
    private String resumeUrl;

    @ApiModelProperty(value = "在职状态（1在职 0离职）")
    private Integer workStatus;

    @ApiModelProperty(value = "删除标志，默认0")
    private Boolean deleted;

    @ApiModelProperty(value = "插入记录者")
    @TableField(fill = FieldFill.INSERT)
    private String insertSaId;

    @ApiModelProperty(value = "插入记录时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime insertTime;

    @ApiModelProperty(value = "最后更新记录者")
    @TableField(fill = FieldFill.UPDATE)
    private String updateSaId;

    @ApiModelProperty(value = "最后更新记录时间")
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "删除记录者")
    private String deleteSaId;

    @ApiModelProperty(value = "删除记录时间")
    private LocalDateTime deleteTime;

    @ApiModelProperty(value = "插入或更新记录的ip地址")
    private String ip;

    @ApiModelProperty(value = "备注")
    private String remark;


}
